<!DOCTYPE html>
<html>
<head>
    <title><%=title%></title>
    <% include common/top.html %>
    <link rel='stylesheet' href='/pc/js/libs/bootstrap-sweetalert/sweetalert.css'/>
    <link rel='stylesheet' href='/pc/css/shopAction.css'/>
    <script src='/pc/js/openShop.js'></script>
</head>
<body>
<!--大部分页面基于前端渲染，对于少数使用后端渲染页面的时候，配置partials，同时在这边引入content部分-->
    <% include common/header.html %>
    <div class="content container">

            <form class="form-horizontal" @submit.prevent="submit" id="shoInfoForm">
                <validator name="validation1">
                <div class="form-group">
                    <label for="shop_name" class="col-sm-2 control-label">店铺名称</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" placeholder="店铺名称" id="shop_name" name="shop_name" field="shop_name" v-validate="rule.shop_name">
                    </div>
                </div>
                <div class="form-group">
                    <label for="shop_desc" class="col-sm-2 control-label">店铺描述</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" placeholder="店铺描述" id="shop_desc" name="shop_desc" field="shop_desc" v-validate="rule.shop_desc">
                    </div>
                </div>
                <div class="form-group">
                    <label for="phone" class="col-sm-2 control-label">手机号</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" placeholder="手机号" id="phone" name="phone" field="phone" v-validate="rule.phone">
                    </div>
                </div>
                <div class="form-group">
                    <label for="address" class="col-sm-2 control-label">地址</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" placeholder="地址" id="address" name="address" field="address" v-validate="rule.address">
                    </div>
                </div>
                <div class="form-group">
                    <label for="least_price_send" class="col-sm-2 control-label">起送金额</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" placeholder="起送金额" id="least_price_send" name="least_price_send" field="least_price_send" v-validate="rule.least_price_send" v-model="least_price_send|currency">
                    </div>
                </div>
                </validator>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">提交</button>
                    </div>
                </div>
            </form>

    </div>
</body>
</html>